package com.example.password.db.entity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.time.LocalDate;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.extern.apachecommons.CommonsLog;

/**
 * 密码表实体
 */
@Data
@NoArgsConstructor
@Entity(tableName = "base_password")
public class Password {
    /* 主键 */
    @PrimaryKey(autoGenerate = true)
    public Long id;

    /* 标题 */
    @ColumnInfo(name = "name")
    public String name;

    /* 用户名 */
    @ColumnInfo(name = "username")
    public String username;

    /* 密码 */
    @ColumnInfo(name = "password")
    public String password;

    /* 最后更新时间 */
    @ColumnInfo(name = "updateTime")
    public String updateTime;



}
